Instantaneous phase

The notions of Instantaneous Phase and Instantaneous Frequency are important concepts in Signal Processing that occur in the context of the representation and analysis of time-varying signals. In signal processing, the instantaneous phase (or "local phase" or simply "phase") of a complex-valued function  x(t)\,  is the real-valued function:


\phi(t) = \arg(x(t)).\,   (see arg function)

And for a real-valued signal  s(t)\,  it is determined from the signal's analytic representation,  s_\mathrm{a}(t)\,:


\phi(t) = \mathrm{arg}( s_\mathrm{a}(t) ) 
.\,

When \phi(t)\, is constrained to an interval such as  (-\pi, \pi]\,  or  [0, 2\pi),\,  it is called the wrapped phase.  Otherwise it is called unwrapped, which is a continuous function of argument t,\, assuming s_\mathrm{a}\, is a continuous function of  t.\,  Unless otherwise indicated, the continuous form should be inferred.

Contents

Examples

Example 1:  s(t) = A\cdot \cos(\omega t %2B \theta),\,  where A\, and \omega\, are positive values.

s_\mathrm{a}(t) = A\cdot e^{i (\omega t %2B\theta)}
\,
\phi(t) = \omega t %2B \theta\,
Example 2:  s(t) = A\cdot \sin(\omega t) = A\cdot \cos\left(\omega t -\begin{matrix} \frac{\pi}{2}\end{matrix}\right)\,

s_\mathrm{a}(t) = A\cdot e^{i \left(\omega t -\begin{matrix} \frac{\pi}{2}\end{matrix}\right)}
\,
\phi(t) = \omega t -\begin{matrix} \frac{\pi }{2}\end{matrix}\,

For both of these sinusoidal examples, the local maxima of  s(t)\,  correspond to

\phi(t) = N\cdot 2\pi\,

for integer values of N\, . Similarly, the local minima correspond to

\phi(t) = \pi %2B N\cdot 2\pi,\,

and the maximum rates of change correspond to

\phi(t)= \begin{matrix} \frac{\pi}{2}\end{matrix} %2B N\cdot \pi.\,

For signals that are approximately sinusoidal, these properties can be used, e.g., in image processing and computer vision, to detect points that are close to edges or lines, and also to measure the position of these points with sub-pixel accuracy.

Instantaneous frequency

In general, the instantaneous angular frequency is defined as

\omega(t) = \phi^\prime(t) = {d \over dt} \phi(t)\,
and the instantaneous frequency (Hz) is:
 f(t) = \frac{1}{2 \pi} \phi^\prime(t) \ .

Conversely, the unwrapped phase can be represented in terms of an instantaneous frequency. When it is actually constructed/derived this way, this process is called phase unwrapping:

\phi(t) = 2 \pi \int_{-\infty}^{t} f(\tau)\, d \tau \ = 2 \pi \int_{0}^{t} f(\tau)\, d \tau %2B 2 \pi \int_{-\infty}^{0} f(t)\, dt
= 2 \pi \int_{0}^{t} f(\tau)\, d \tau %2B \phi(0)

A similar definition can be used to describe phase as a function of frequency. In this case, the complex notation of phase generates values from ±180 degrees, but for unwrapped phase, an additional 360 degrees of phase must be added when the phase moves from +180 to -180 degrees. In this way, the phase will accumulate to any arbitrarily large value. Note from the definition that the phase function must exist for all frequency from f=0. In many cases, such as RF and Microwave measurements of cables or filters, the phase response is not measured continuously, but from some non-zero start frequency. In this case, phase unwrapping has ambiguities due to the lack of knowledge of phase response before the start frequency. In this case, it is common practice to assign the integral a value of zero for phase response before the start frequency. For devices such as cables, which have nearly constant phase vs frequency, this can give an error in the unwrapped phase response compared to the expected value as the phase before the start frequency is not included.

Complex representation

In some applications, such as averaging the values of phase at several moments of time, it may be useful to convert each value to a complex number, or vector representation:

e^{i \phi(t)}\, = \frac{s_\mathrm{a}(t)}{|s_\mathrm{a}(t)|}\,
= \cos(\phi(t)) %2B i\cdot \sin(\phi(t)).\,     (Euler's formula)

This representation is similar to the wrapped phase representation in that it does not distinguish between multiples of 2 \pi in the phase, but similar to the unwrapped phase representation since it is continuous. A vector-average phase can be obtained as the arg of the sum of the complex numbers.

See also

References